package com.qf.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("t_order_1")
public class Order {

    @TableId(type = IdType.INPUT) // 订单id需要自己设置
    private String id;
    private Integer uid;
    private Integer payType;

    private Integer status;
    private BigDecimal totalPrice;
    private String name;
    private String phone;
    private String address;
    private Date createTime;

}
